package day10;

public class Test03 {
    public static void main(String[] args) {
       // Inter i = new Inter()  不能直接对抽象类直接实例化
        Inter i1 = new Interimpl();
        i1.eat();
        i1.play();

        Interimpl i2 = new Interimpl();
        i2.eat();
        i2.play();




    }
}
